Searched hist:"6081089 fd6f216b0eb8849205ad0c350cd5ed9bc" (Results 1 – 1 of 1) sorted by relevance
/linux/mm/ |
H A D | percpu.c | diff 6081089fd6f216b0eb8849205ad0c350cd5ed9bc Fri Apr 09 11:57:01 CEST 2010 Tejun Heo <tj@kernel.org> percpu: reorganize chunk creation and destruction
Reorganize alloc/free_pcpu_chunk() such that chunk struct alloc/free live in pcpu_alloc/free_chunk() and the rest in pcpu_create/destroy_chunk(). While at it, add missing error handling for chunk->map allocation failure.
This is to allow alternate chunk management implementation for percpu nommu support.
Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: David Howells <dhowells@redhat.com> Cc: Graff Yang <graff.yang@gmail.com> Cc: Sonic Zhang <sonic.adi@gmail.com>
|